#pragma once

#include "RSDBErrors.h"
#include <string>

class RSDBExeption : public CException
{
	DECLARE_DYNAMIC(RSDBExeption)

	public:
		RSDBExeption(std::wstring);
		RSDBExeption(int, std::wstring);

		virtual ~RSDBExeption(void);

		virtual BOOL GetErrorMessage(LPTSTR lpszError, UINT nMaxError, PUINT pnHelpContext = NULL);

		std::wstring Message;
		int Code;
};